//中奖记录
jQuery(document).ready(function() {
	// 设置高度
	setH();
	jQuery(window).resize(function(){setH();});
	
    // 设置高度
	function setH(){
		var w_val = jQuery(".wrapCen").width();
		var infoBar_obj = jQuery(".infoBar");
		//var font_size = parseInt(hdgz_obj.find("p").css("font-size"));
		var img_w = 640;
		var img_h = 1008;
		var b_num = w_val / img_w;
		var setT = jQuery(".bgPic").offset().top;
		var img_dang_h = b_num * img_h;
		var topNum = ( 0.250992 * img_dang_h ) + setT;
		var bottomNum = ( 0.085317 * img_dang_h );
		infoBar_obj.css({
			"top":topNum+"px",
			"bottom":bottomNum+"px"
		})/*.find("p").css({
			"font-size":( font_size * b_num ) + "px"
		})*/;
	}
});